<script lang="ts" setup>
import { NotificationsCircle } from "@vicons/ionicons5";
import titleBkg from "../../assets/images/title.png";
import u8Img from "@/assets/images/u8.png";
import u7Svg from "@/assets/svg/u7.svg";
import { ref, onMounted } from "vue";
const props = defineProps({
  title: String,
});
// const
onMounted(() => {});
</script>
<template>
  <div class="window-wrapper">
    <div :style="{ backgroundImage: `url(${titleBkg})` }" class="header">
      <div class="left">
        <div class="title">{{ title }}</div>
      </div>
    </div>
    <div class="content">
      <slot></slot>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.window-wrapper {
  display: inline-block;
  margin-bottom: 30px;
  .header {
    width: 430px;
    height: 35px;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    font-size: 18px;
    padding: 6px;
    justify-content: space-between;
    box-sizing: border-box;
    img {
      margin-right: 6px;
    }
    .left {
      display: flex;
      align-items: center;
      font-size: 18px;
      position: relative;
      left: 30px;
      top: -5px;
      font-style: italic;
      font-weight: bold;
      letter-spacing: 3px;
      text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
      color: #ffffffee;
    }
  }
  .content {
    padding: 6px;
  }
}
.title {
}
</style>
